<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%
	String appPath = request.getContextPath();
%>
<div>
	<div id="order_gift_div">
		<%--
		<div class="custom-container basic2">
			<a href="javascript:void(0)" class="prev">&lsaquo;</a>
			<div class="carousel">
				<ul>
					<c:forEach items="${goodsInfoList}" var="goodsInfo">
						<li>
							<div >
								<a href="javascript:gotoHtmlTarget('/${goodsInfo[1]}.htm','1')" > <img width="100" height="100" src="${goodsInfo[4]}"/> </a>
								<br/>
								<a href="javascript:gotoHtmlTarget('/${goodsInfo[1]}.htm','1')" >${goodsInfo[2]}</a>
								<br/>
								<input type="radio" value="${goodsInfo[1]}" name="giftSkuId" > <label > <strong >￥<fmt:formatNumber
											value="${goodsInfo[3]/100}" pattern="0.00" /></strong>
								</label>
							</div>
						</li>
					</c:forEach>
				</ul>
			</div>
			<a href="javascript:void(0)" class="next">&rsaquo;</a>
			<div class="clear" style="clear: both;"></div>
		</div>
	 --%>
		<div>
			<c:choose>
				<c:when test="${goodsInfoList!=null&&fn:length(goodsInfoList)>0}">
					<div id="jsCarousel">
						<c:forEach items="${goodsInfoList}" var="goodsInfo">
							<div class="lunbo1">
								<div class="lunbo2">
									<a href="javascript:gotoHtmlTarget('/${goodsInfo[1]}.htm','1')"> <img style="width: 100%;height: 100%;" src="${goodsInfo[4]}" />
									</a>
								</div>
								<div class="lunbo3">
									<a href="javascript:gotoHtmlTarget('/${goodsInfo[1]}.htm','1')">${goodsInfo[2]}</a> <br /> <input type="radio" value="${goodsInfo[1]}" name="giftSkuId">
									<label> <strong>￥<fmt:formatNumber value="${goodsInfo[3]/100}" pattern="0.00" /></strong>
									</label>
								</div>
							</div>
						</c:forEach>
					</div>
				</c:when>
				<c:otherwise>
					<p style="margin: 10px;font-size: 14px;color: #4b61de">暂无属于该活动的商品信息</p>
				</c:otherwise>
			</c:choose>
		</div>
	</div>
</div>
